Skip to content

Commit 2539623

Browse files
Hithrushermanhui
authored andcommitted
Fixed Typo (TheAlgorithms#5477)
Change how many "=" sign to how many "=" signs
1 parent 619597e commit 2539623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ciphers/base64_encoding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def base64_encode(data: bytes) -> bytes:
77
The data is first transformed to binary and appended with binary digits so that its
88
length becomes a multiple of 6, then each 6 binary digits will match a character in
99
the B64_CHARSET string. The number of appended binary digits would later determine
10-
how many "=" sign should be added, the padding.
10+
how many "=" signs should be added, the padding.
1111
For every 2 binary digits added, a "=" sign is added in the output.
1212
We can add any binary digits to make it a multiple of 6, for instance, consider the
1313
following example:

0 commit comments

Comments
 (0)