Re: Hashing in Java and Java Cryptography Architecture (JCA) design

2018-10-29 Thread Adam Petcher
s? --Janez *From:* security-dev on behalf of Thomas Lußnig *Sent:* Tuesday, October 23, 2018 8:24:33 PM *To:* security-dev@openjdk.java.net *Subject:* Re: Hashing in Java and Java Cryptography Architecture (JCA) design Hi, even if it looks complicated for you the idea is that your code is not

Re: Hashing in Java and Java Cryptography Architecture (JCA) design

2018-10-27 Thread John Newman
Not to be rude to Thomas but has anyone else have any thoughts on this? --Janez From: security-dev on behalf of Thomas Lußnig Sent: Tuesday, October 23, 2018 8:24:33 PM To: security-dev@openjdk.java.net Subject: Re: Hashing in Java and Java Cryptography

Re: Hashing in Java and Java Cryptography Architecture (JCA) design

2018-10-23 Thread Thomas Lußnig
Hi, even if it looks complicated for you the idea is that your code is not hard wired to MD5 or SHA1 but in ideal case it is configured. Than you do not know in advance if the selected digest is available. On the other hand no one say that you can create your own helper/tools class. The idea i