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.
-
Construct a new instance, transferring data from the client layer to Rust.
Declaration
Swift
public convenience init(bytes: Data)
-
Get the raw bytes from this type, transferring data from Rust to the client layer.
This does not consume the newtype, instead copying the internal data across the FFI boundary.
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)