somesocks / lua-lockbox

A collection of cryptographic primitives written in pure Lua
MIT License
362 stars 75 forks source link

Add string conversion for modes, macs and digests #40

Closed blueyetisoftware-jason closed 1 year ago

blueyetisoftware-jason commented 1 year ago

Adds asString conversions for primitives alongside the existing asHex and asBytes. This prevents the need for creating a bunch of intermediary objects when strings are needed.