{"modulePath":"github.com/cnelson/gorouter","version":"v0.0.0-20160408230424-8ab5ff9217f2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package secure\n\n## Functions\n\n```go\nfunc NewPbkdf2(input []byte, keyLen int) []byte\n```\n\n## Types\n\n```go\ntype AesGCM struct {\n\tcipher.AEAD\n}\n```\n\n```go\nfunc NewAesGCM(key []byte) (*AesGCM, error)\n```\n\n```go\nfunc (gcm *AesGCM) Decrypt(cipherText, nonce []byte) ([]byte, error)\n```\n\n```go\nfunc (gcm *AesGCM) Encrypt(plainText []byte) (cipherText, nonce []byte, err error)\n```\n\n```go\ntype Crypto interface {\n\tEncrypt(plainText []byte) (cipherText []byte, nonce []byte, err error)\n\tDecrypt(cipherText, nonce []byte) ([]byte, error)\n}\n```\n\n","path":"github.com/cnelson/gorouter/common/secure","name":"secure","synopsis":"","isRedistributable":true}
