Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

detect_base64_line_width

Function detect_base64_line_width 

Source
pub fn detect_base64_line_width(pem: &[u8]) -> Result<usize>
Expand description

Attempt to detect the Base64 line width for the given PEM document.

NOTE: not constant time with respect to the input.