Skip to main content

is_encrypted

Function is_encrypted 

Source
pub fn is_encrypted(text: &str) -> bool
Expand description

Whether text looks like an encrypted value (starts with v1:).

ยงExamples

assert!(!ocre::encryption::is_encrypted("hello"));