SecretKey

open class SecretKey : SecretKeyProtocol, @unchecked Sendable
extension SecretKey: CustomStringConvertible
extension SecretKey: Equatable
extension SecretKey: Hashable

A secret key derived from the group secret.

This is intended to be used for AVS.

  • Infallibly instantiate an instance from a byte array.

    Declaration

    Swift

    public convenience init(bytes: Data)
  • Copy the wrapped data into a new byte array.

    Declaration

    Swift

    open func copyBytes() -> Data
  • Declaration

    Swift

    open var description: String { get }
  • Declaration

    Swift

    public static func == (self: SecretKey, other: SecretKey) -> Bool
  • Declaration

    Swift

    open func hash(into hasher: inout Hasher)