MCPcopy Create free account
hub / github.com/tbphp/gpt-load / Encrypt

Method Encrypt

internal/encryption/encryption.go:17–17  ·  view source on GitHub ↗
(plaintext string)

Source from the content-addressed store, hash-verified

15// Service defines the encryption interface
16type Service interface {
17 Encrypt(plaintext string) (string, error)
18 Decrypt(ciphertext string) (string, error)
19 Hash(plaintext string) string
20}

Callers 3

logRequestMethod · 0.65
processAndCreateKeysMethod · 0.65

Implementers 2

aesServiceinternal/encryption/encryption.go
noopServiceinternal/encryption/encryption.go

Calls

no outgoing calls

Tested by

no test coverage detected