MCPcopy Index your code
hub / github.com/ory/hydra / KeyCipher

Method KeyCipher

driver/registry_sql.go:406–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404}
405
406func (m *RegistrySQL) KeyCipher() *aead.AESGCM {
407 if m.kc == nil {
408 m.kc = aead.NewAESGCM(m.Config())
409 }
410 return m.kc
411}
412
413func (m *RegistrySQL) FlowCipher() *aead.XChaCha20Poly1305 {
414 if m.flowc == nil {

Callers

nothing calls this directly

Calls 2

ConfigMethod · 0.95
NewAESGCMFunction · 0.92

Tested by

no test coverage detected