
org.whispersystems.curve25519.java.crypto_verify_32 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of curve25519-j2me Show documentation
Show all versions of curve25519-j2me Show documentation
Curve25519 library for J2ME
The newest version!
package org.whispersystems.curve25519.java;
public class crypto_verify_32 {
public static int crypto_verify_32(byte[] x, byte[] y) {
int differentbits = 0;
for (int count = 0; count < 32; count++) {
differentbits |= (x[count] ^ y[count]);
}
return differentbits;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy