signalapp / curve25519-java

Pure Java and JNI backed Curve25519 implementation.
GNU General Public License v3.0
233 stars 96 forks source link

byte[] signature = cipher.calculateSignature(secureRandom, privateKey, message); #26

Open freewind opened 6 years ago

freewind commented 6 years ago

On README.md, there is:

byte[]     signature = cipher.calculateSignature(secureRandom, privateKey, message);

But in the latest version, secureRandom is not needed, so this line can be changed to:

byte[]     signature = cipher.calculateSignature( privateKey, message);