Imports github.com/ory/fosite github.com/ory/x/errorsx github.com/pkg/errors golang.org/x/crypto/chacha20poly1305 Standard library imports context crypto/aes crypto/cipher crypto/rand encoding/base64 fmt io math