MCPcopy Index your code
hub / github.com/tbphp/gpt-load / Service

Interface Service

internal/encryption/encryption.go:16–20  ·  view source on GitHub ↗

Service defines the encryption interface

Source from the content-addressed store, hash-verified

14
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}
21
22// NewService creates encryption service
23func NewService(encryptionKey string) (Service, error) {

Callers 19

logRequestMethod · 0.65
processAndCreateKeysMethod · 0.65
preCheckMethod · 0.95
verifyTempColumnsMethod · 0.95
StreamLogKeysToCSVMethod · 0.65
StreamKeysToWriterMethod · 0.65
validationWorkerMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected