Skip to main content

keepkey_pin_context

Function keepkey_pin_context 

Source
pub fn keepkey_pin_context(positions: String) -> Result<DeviceContext>
Expand description

Creates KeepKey PIN context from nonempty ASCII-digit keypad positions.

Positions are not literal PIN digits; no 1–9 range check is performed.

§Errors

Returns an error for empty input or non-ASCII digits.