예제 #1
0
파일: keys.go 프로젝트: deathbearbrown/pact
/**
 * 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())
}
예제 #2
0
파일: keys.go 프로젝트: deathbearbrown/pact
/**
 * 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())
}