Barry @chiroptical.dev · Sep 26

#gleamlang do we prefer builder style here or just `encrypt(BitArray, Option(BitArray))`? For some reason, I don't like `encrypt(x, option.None)` but also `new(x) |> encrypt()` feels tedious. `encrypt_with_associated_data(x, y)` feels long.

0 likes 1 replies

?

Replies

Barry · Sep 26

Could also `encrypt(BitArray, BitArray)` to encourage associated data? I don't know if it should be?