MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / DecryptSensitiveData

Method DecryptSensitiveData

crypto/crypto.go:355–361  ·  view source on GitHub ↗
(payload *EncryptedPayload)

Source from the content-addressed store, hash-verified

353}
354
355func (cs *CryptoService) DecryptSensitiveData(payload *EncryptedPayload) (string, error) {
356 plaintext, err := cs.DecryptPayload(payload)
357 if err != nil {
358 return "", err
359 }
360 return string(plaintext), nil
361}
362
363// GenerateKeyPair generates RSA key pair (for key generation during initialization)
364// Returns PEM format private key and public key

Callers 3

handleCreateExchangeMethod · 0.80

Calls 1

DecryptPayloadMethod · 0.95

Tested by

no test coverage detected