hotshot_
types
0.1.11
Schnorr
Priv
Key
Aliased Type
Trait Implementations
PrivateSignatureKey
In hotshot_
types::
signature_
key
hotshot_types
::
signature_key
Type Alias
SchnorrPrivKey
Copy item path
Source
pub type SchnorrPrivKey = SignKey<Fr>;
Aliased Type
§
struct SchnorrPrivKey(
/* private fields */
);
Trait Implementations
§
Source
§
impl
PrivateSignatureKey
for
SchnorrPrivKey
Source
§
fn
to_bytes
(&self) ->
Vec
<
u8
>
ⓘ
Serialize the private key into bytes
Source
§
fn
from_bytes
(bytes: &[
u8
]) ->
Result
<Self>
Deserialize the private key from bytes
Read more
Source
§
fn
to_tagged_base64
(&self) ->
Result
<TaggedBase64, Tb64Error>
Serialize the private key into TaggedBase64 blob.
Read more