somesocks / lua-lockbox

A collection of cryptographic primitives written in pure Lua
MIT License
357 stars 74 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.