Skip to content

Ed25519HDKey

bigearsenal edited this page May 17, 2022 · 1 revision

Ed25519HDKey

public struct Ed25519HDKey 

Nested Type Aliases

Hex

public typealias Hex = String

Path

public typealias Path = String

Properties

hardenedOffset

public static let hardenedOffset = 0x80000000

Methods

getMasterKeyFromSeed(_:)

public static func getMasterKeyFromSeed(_ seed: Hex) -> Result<Keys, Error> 

getPublicKey(privateKey:withZeroBytes:)

public static func getPublicKey(privateKey: Data, withZeroBytes: Bool = true) throws -> Data 

derivePath(_:seed:offSet:)

public static func derivePath(_ path: Path, seed: Hex, offSet: Int = hardenedOffset) -> Result<Keys, Error> 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally