keyring: keys also contain algorithm identifier
sencode: string length integer bijectivity