internal/aead : replace miscreant with xchacha20poly1305

This commit is contained in:
Bobby DeSimone 2019-01-16 12:14:51 -08:00
parent d24516f6e4
commit 72922b8ee8
No known key found for this signature in database
GPG key ID: AEE4CF12FE86D07E
9 changed files with 64 additions and 63 deletions

View file

@ -149,7 +149,7 @@ func NewAuthenticator(opts *Options, optionFuncs ...func(*Authenticator) error)
if err != nil {
return nil, err
}
cipher, err := aead.NewMiscreantCipher([]byte(decodedAuthCodeSecret))
cipher, err := aead.New([]byte(decodedAuthCodeSecret))
if err != nil {
return nil, err
}