Registry / crypto / holochain-secure-primitive

holochain-secure-primitive

JSON →
library0.6.1rscratesunverified

Provides macros for defining secure primitives in the Holochain framework.

# Cargo.toml [dependencies] holochain_secure_primitive = "0.6.1"
INSTALL
IMPORT
SIG · HOLOCHAIN-SECURE-P
H
holochain-secure-primitive
cryptorustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

secure_primitive
use holochain_secure_primitive::secure_primitive;

Defines a secure primitive type with a fixed-size byte array.

use holochain_secure_primitive::secure_primitive; secure_primitive!(MySecureType, 32); fn main() { let _ = MySecureType::new([0u8; 32]); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
holochain-secure-primitive — cargo add holochain-secure-primitive · libregistry