# Base64 Encoding RFC

**URL:** <https://forums.swift.org/t/base64-encoding-rfc/56836>\
**Category:** Core Libraries\
**Tags:** documentation, data, base64\
**Created:** [April 20, 2022, 6:40am UTC](https://forums.swift.org/t/base64-encoding-rfc/56836 "2022-04-20T06:40:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brevansio](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/brevansio/32/22956_2.png) [@brevansio](https://forums.swift.org/u/brevansio)\
**Post date:** [April 20, 2022, 6:40am UTC](https://forums.swift.org/t/base64-encoding-rfc/56836/1 "2022-04-20T06:40:13Z")

</div>

I found that Swift doesn't specify an RFC in the [documentation](https://github.com/apple/swift-corelibs-foundation/blob/ee856f110177289af602c4040a996507f7d1b3ce/Sources/Foundation/Data.swift#L2048-L2079) like the [other specs](https://developer.android.com/reference/kotlin/android/util/Base64) sometimes do. I am pretty sure from the implementation and the options that we're using RFC 4648. Is that correct?

Second, is it worth it to put this information in the documentation? Since RFC 4648 is the "current" (as of this post) version we may not need it right now, but if it is further changed in the future, I believe that the documentation would be helpful in de-conflicting RFC versions.
