I was wondering whether the golang standard packages contain some module

to generate cryptographically secure cyclic groups and generators for them?

I.e. given a certain bit size, generate a random prime cyclic group and a

generator the size of which is also of the given bits?

What I'm looking for is something along the lines of:

http://blog.renzuocheng.com/2012/11/generate-cyclic-group-of-prime-order-and-one-of-its-generator/,

but maybe officially supported.

Thanks,

Peter

--

You received this message because you are subscribed to the Google Groups "golang-nuts" group.

To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.