Ed25519
public struct Ed25519
ed25519 fast calculation implementation ported from SUPERCOP https://bench.cr.yp.to/supercop.html
-
Undocumented
Declaration
Swift
public static func crypto_sign_keypair() -> (pk: [UInt8], sk: [UInt8])
-
Undocumented
Declaration
Swift
public static func crypto_pk(_ sk: [UInt8]) -> [UInt8]
-
Undocumented
Declaration
Swift
public static func crypto_isvalid_keypair(_ pk: [UInt8], _ sk: [UInt8]) -> Bool
-
Undocumented
Declaration
Swift
public static func crypto_sign(_ sm: inout [UInt8], _ m: [UInt8], _ skpk: [UInt8])
-
Undocumented
Declaration
Swift
public static func crypto_sign_open(_ sm: [UInt8], _ pk: [UInt8]) -> Bool