decryptPayload returns the payload for a decrypt request of the encryptedKey.
(encryptedKey string)
| 366 | // decryptPayload returns the payload for a decrypt request of the |
| 367 | // encryptedKey. |
| 368 | func decryptPayload(encryptedKey string) map[string]interface{} { |
| 369 | return map[string]interface{}{ |
| 370 | "ciphertext": encryptedKey, |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | // dataKeyFromSecret attempts to extract the data key from the data of the |
| 375 | // provided secret. |
no outgoing calls