December 2019 Archives

MySQL 8.0 default sql_mode

user-pic
Vote 0 Votes

ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

Base58

user-pic
Vote 0 Votes

Base58 是源自於比特幣的一種編碼方式,
它不使用看起來易混淆的字 0 (zero), O (capital o), I (capital i) and l (lower case L), 也不使用等殊符號,
大小寫英文加數字扣掉上面四個 (26x2+10-4=58)
用在網址傳輸也沒有問題
PHP Base58 Class

Base64url

user-pic
Vote 0 Votes

Base64url 是 RFC 4648 所定義的 Base 64 Encoding with URL and Filename Safe Alphabet
因為 Base64 有用到 + 及 / 在 URL 傳輸會有問題, 於是 Base64url 就把 + 換成 - 及 / 換成 _
PHP:base64_encode 下方的User Contributed Notes 有人提供了 base64url_encode base64url_decode

About this Archive

This page is an archive of entries from December 2019 listed from newest to oldest.

September 2019 is the previous archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives