Expand description
ยง๐ฆ Lunes SDK
This crate is a piece of lunesjs. Lunesjs is one of the libraries that make up the Lunes SDK.
ยงโ ๏ธ Caution
This repository is full of cryptography functions with some abstraction, be sure what you are doing
ยง๐ญ Telescope
For the user guide and further documentation, please read Telescope
ยง๐ Archtecture
-
Account
-
Signature
- validate_signature
(Vec<u32>, Vec<u32>, Vec<u32>)
->Vec<u32>
- full_signature
(Vec<u32>, Vec<u32>)
->Vec<u32>
- fast_signature
(Vec<u32>, Vec<u32>)
->Vec<u32>
- validate_address
(u8, Vec<u8>)
->bool
- validate_signature
-
Wallet
- to_address
(u8, u8, Vec<u8>)
->Vec<u8>
- hidden_seed
(u32, String)
->Vec<u8>
- to_private_key
Vec<u8>
->Vec<u8>
- to_public_key
Vec<u8>
->Vec<u8>
- to_address
-
-
Utils
-
Serialize
- serialize_string
String
->Vec<u8>
- serialize_uinteger
u64
->Vec<u8>
- serialize_string
-
Crypto
- to_blake2b32b
Vec<u8>
->Vec<u8>
- to_keccak256
Vec<u8>
->Vec<u8>
- to_sha256
Vec<u8>
->Vec<u8>
- to_blake2b32b
-
Random
- random_triple_number ->
Vec<u32>
- random_bytes
usize
->Vec<u32>
- random_triple_number ->
-
Vectors
- to_vecu32
Vec<u8>
->Vec<u32>
- to_vecu8
Vec<u32>
->Vec<u8>
- to_vecu32
-
Base58
- vec_to_b58
Vec<u8>
->String
- b58_to_vec
String
->Vec<u8>
- vec_to_b58
-