Skip to main content

mosaic_restriction_key

Function mosaic_restriction_key 

Source
pub fn mosaic_restriction_key(text: &str) -> u64
Expand description

文字列からモザイクの制限のキーを作る。公式の SDK の mosaic_restriction_generate_key と同じく、 SHA3-256 の先頭8バイトをリトルエンディアンで読む。メタデータのキーと違い、最上位ビットは立てない。