Hi Dan Mick, Thanks for your confirm. Math is magic. B.R. Changcheng On 20:05 Wed 13 May, Dan Mick wrote: > (resending to include dev@xxxxxxx) > > 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 > > > > B.R. > > Changcheng > > _______________________________________________ > > Dev mailing list -- dev@xxxxxxx > > To unsubscribe send an email to dev-leave@xxxxxxx > > > > 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@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx