module Ed25519::Curve25519

Defined in:

ed25519/curve25519.cr

Constant Summary

BASE_POINT_U = "0900000000000000000000000000000000000000000000000000000000000000"

Class Method Summary

Class Method Detail

def self.scalar_mult(private_key : Hex, public_key : Hex) : Bytes #

crypto_scalarmult aka get_shared_secret


[View source]
def self.scalar_mult_base(private_key : Hex) : Bytes #

crypto_scalarmult_base aka get_public_key


[View source]