PTCT_EN(data): Takes some text and encodes it into Base64 (like turning it into a scrambled message). PTCT_DE(encoded_data): Takes the scrambled message and turns it back into the original text.
Web APIとの連携や、フロントエンドから送られてくるデータを処理していると、一見すると無意味な英数字の羅列に遭遇することがあります。「iVBORw0KGgo...」のように延々と続く長い文字列。これこそが、画像やPDFなどのバイナリデータをテキスト形式で表現 ...
First the data is converted into a binary string, divided into 6 bit chunks and stored. Each 6 bit chunk can be mapped to one of 64 possible values which are ASCII characters based on the base64 table ...
インターネットを使っていると、文字やデータが「謎の文字列」に変換されている場面を見かけることがあります。例えば、メールやAPI通信で使われるBase64エンコードもその一つです。今回は、Base64がどんな仕組みなのか、そして基本的なエンコード ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する