is_encrypted

Function is_encrypted 

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

Checks if a string slice is encrypted. Encrypted values start with “+encs+”.

§Arguments

  • value - The string slice to check.

§Returns

true if the value is encrypted, false otherwise.