Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ed25519sign ¶
Ed25519sign ed25519签名, seed为私钥, msg: 代签数据
(BBC私钥 hex decode 字符串然后反转字节顺序即可,即: HexDecodeThenReverse)
func Ed25519verify ¶
Ed25519verify 验证签名,公钥 明文 密文
(BBC公钥 hex decode 字符串然后反转字节顺序即可,即: HexDecodeThenReverse)
func HexDecodeThenReverse ¶
HexDecodeThenReverse hex decode then reverse byte[]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.