Namespace: Curve25519_51

Hacl~Curve25519_51

Methods

(static) ecdh(scalar, input) → {bool|buffer}

Parameters:
Name Type Description
scalar buffer size 32
input buffer size 32
Source:
Returns:
  • Type
    bool
  • result - size 32
    Type
    buffer

(static) scalarmult(scalar, input) → {buffer}

Parameters:
Name Type Description
scalar buffer size 32
input buffer size 32
Source:
Returns:
result - size 32
Type
buffer

(static) secret_to_public(scalar) → {buffer}

Parameters:
Name Type Description
scalar buffer size 32
Source:
Returns:
result - size 32
Type
buffer