Skip to main content

parse_tagged_ciphertext

Function parse_tagged_ciphertext 

Source
pub fn parse_tagged_ciphertext(ciphertext: &str) -> (BackendKind, &str)
Expand description

Split stored ciphertext into its backend and undecorated payload. Untagged ciphertext is treated as GPG for backward compatibility with secrets encrypted before the age backend existed.