Ejemplo n.º 1
0
/**
 * GetPublicKey
 * @return *[32]byte Byte array representation of the user's public key
 * Helper method which returns the user's public key
 */
func GetPublicKey() *[32]byte {
	return msg.ReadNACLKeyFile(GetPublicKeyPath())
}
Ejemplo n.º 2
0
/**
 * GetPrivateKey
 * @return *[32]byte Byte array representation of the user's private key
 * Helper method which returns the user's private key
 */
func GetPrivateKey() *[32]byte {
	return msg.ReadNACLKeyFile(GetPrivateKeyPath())
}