diff --git a/src/shake.erl b/src/shake.erl index c7c0003..acf1d7d 100644 --- a/src/shake.erl +++ b/src/shake.erl @@ -53,7 +53,7 @@ convert(#{public := PK, secret := <>}) -> %% Curve25519 Prime Field Constant: 2^255 - 19 -%% Yes, in hex it read kind of like "lucky fed" +%% Yes, in hex it reads kind of like "lucky fed" p() -> 16#7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFED. ed25519_pk_to_x25519(<>) ->