module Noble::Ed25519::Curve25519

Defined in:

noble-ed25519.cr

Constant Summary

BASE_POINT_U = "0900000000000000000000000000000000000000000000000000000000000000"

Class Method Summary

Class Method Detail

def self.scalarMult(privateKey : Hex, publicKey : Hex) : Bytes #

crypto_scalarmult aka getSharedSecret


[View source]
def self.scalarMultBase(privateKey : Hex) : Bytes #

crypto_scalarmult_base aka getPublicKey


[View source]