On Thu, May 14, 2020 at 6:06 AM Dan Mick <dmick@redhat.com> wrote:
(resending to include dev@ceph.io)
On 5/13/2020 7:56 AM, Liu, Changcheng wrote:
Hi all, Does any one know the mathematical theory of below functions in: https://github.com/ceph/ceph/blob/master/src/common/armor.c 1) ceph_armor 2) ceph_unarmor
These are basic base64 conversions. Yehuda
B.R. Changcheng _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
It's just, as it says, base64 encoding; that is, it selects an ASCII character for each 6 bits of the input. https://en.wikipedia.org/wiki/Base64 _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io