Hacker News new | ask | show | jobs
by karulont 686 days ago
https://github.com/apple/swift-homomorphic-encryption/blob/3...

Run SHA256 on the keyword, truncate the hash and take the modulus with number of shards.