Documentation ¶
Overview ¶
Package chef_crypto bundles up crytographic routines for goairdi.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRSAKeys ¶
Creates a pair of private and public keys for a client.
func GenerateSalt ¶ added in v0.4.0
Generate a new salt for hashing a password.
func HashPasswd ¶ added in v0.4.0
SHA512 hash a password string with the provided salt.
func HeaderDecrypt ¶ added in v0.4.0
Decrypt the encrypted header with the client or user's public key for validating requests. This function is informed by chef-golang's privateDecrypt function.
func ValidatePublicKey ¶ added in v0.4.0
Checks that the provided public key is valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.