I'm assuming all I need to do is encode 2^64 as base64 to get a 11 character Youtube identifier. I created a Go program https://play.golang.org/p/2nuA3JxVMd0 but it has two issues:
- The identifier is 12 characters instead of the expected 11
- The encoded base64 suffix is "=" which means that it didn't have enough to encode?
So where am I going wrong?
Aucun commentaire:
Enregistrer un commentaire