[FIX] secp256k1 #414

This commit is contained in:
Gravit 2020-09-25 17:19:57 +07:00
parent 5646813885
commit 9efcd7af26
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -26,7 +26,7 @@ public final class SecurityHelper {
public static final String EC_ALGO = "EC"; public static final String EC_ALGO = "EC";
// EC Algorithm constants // EC Algorithm constants
public static final String EC_CURVE = "secp256k1"; public static final String EC_CURVE = "secp256r1";
public static final String EC_SIGN_ALGO = "SHA256withECDSA"; public static final String EC_SIGN_ALGO = "SHA256withECDSA";
public static final String EC_CIPHER_ALGO = "ECIES"; public static final String EC_CIPHER_ALGO = "ECIES";
public static final int TOKEN_LENGTH = 16; public static final int TOKEN_LENGTH = 16;