sogo: master c3a4f4ae

Author Committer Branch Timestamp Parent
the_nic the_nic master 2020-05-03 13:09 master 8c612fc0
Changeset

fix(core): NSData+String: Simplify generateSalt function

Instead of converting binary data to base64 in order to get printable
data, use a white list of characters allowed and select from those.

This also makes sure we will get the right amount of characters as
requested, not potentially longer strings.

mod - SoObjects/SOGo/NSData+Crypto.h Diff File
mod - SoObjects/SOGo/NSData+Crypto.m Diff File