Sdr.hash
You're seeing just the function
hash
, go back to Sdr module for more information.
Hash encoder.
Examples
iex(1)> Sdr.hash(0, 100, 1, 3, 72)
#MapSet<["32BB90E8976AAB5298D5DA10FE66F21D", "AD61AB143223EFBC24C7D2583BE69251", "D2DDEA18F00665CE8623E36BD4E3C7C5"]>
Use MapSet.size/1 to get the length of the MapSet. Use MapSet.to_list/1 to convert it to a list.