pedrorrivero / qrand

A multiprotocol and multiplatform quantum random number generation framework
https://pypi.org/project/qrand/
Apache License 2.0
23 stars 14 forks source link

Random OCTAL, HEX, BASE32, and BASE64 #7

Closed pedrorrivero closed 3 years ago

pedrorrivero commented 3 years ago

Is your feature request related to a problem? Please describe.

There is no functionality for retrieving bitstrings in a more compact base:

Describe the solution you'd like

Add random hex, base32, and base64 functionality to QRNG

Describe alternatives you've considered

The user can translate the output bitstring manually

Additional context

anushkrishnav commented 3 years ago

I can work on HEX, post that will take up other bases too can I just create a function called get_random_hex to achieve this? if not can you elaborate on what is expected

pedrorrivero commented 3 years ago

Hi @anushkrishnav! Thanks for showing interest!

It is my understanding that somebody else is already working on this. They reached out via Discord. Am I right @Avhijit-codeboy? You can maybe work together to get his done.

Avhijit-codeboy commented 3 years ago

I've actually already implemented all the encodings @pedrorrivero

pedrorrivero commented 3 years ago

Awesome @Avhijit-codeboy! It would be nice though if you could chat with @anushkrishnav and see if he has any fresh ideas 🙂 I am assigning this to you two!

pedrorrivero commented 3 years ago

Thanks @Avhijit-codeboy, great job!