V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiaoyanbot
V2EX  ›  问与答

大家觉得 Readhub 的这个 id,存储的字段是怎样的?

  •  
  •   xiaoyanbot · May 18, 2022 · 891 views
    This topic created in 1444 days ago, the information mentioned may be changed or developed.
    https://readhub.cn/topic/8g71o0ZToXz

    以这个 ID 为例子,base62 解码之后的值为 6932612713046742375

    这个值已经快到了 mysql 的 big int 的 max value 了,请教下大家它这个 id 存储是用的 big int 吗?

    也有可能使用了 非负的,

    大家怎么看, 这个 ID 存储用的什么?


    ----

    base62 解码: http://www.hiencode.com/base62.html
    2 replies    2022-05-20 18:27:28 +08:00
    lovelylain
        1
    lovelylain  
       May 19, 2022 via Android
    为啥你会认为只做了一次 base 编码,也可能是加密过的呀
    xiaoyanbot
        2
    xiaoyanbot  
    OP
       May 20, 2022
    @jobmailcn 有道理
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 12:19 · PVG 20:19 · LAX 05:19 · JFK 08:19
    ♥ Do have faith in what you're doing.