2023-03-26 18:24:39 +0200 received badge ● Famous Question (source) 2022-10-14 07:57:51 +0200 received badge ● Notable Question (source) 2018-06-24 20:42:20 +0200 received badge ● Popular Question (source) 2017-04-04 16:23:48 +0200 received badge ● Notable Question (source) 2017-04-04 16:23:48 +0200 received badge ● Popular Question (source) 2015-01-13 22:06:07 +0200 received badge ● Taxonomist 2013-07-16 13:00:30 +0200 received badge ● Student (source) 2012-04-15 16:22:51 +0200 received badge ● Editor (source) 2012-04-15 16:22:11 +0200 asked a question Working with multiplicative groups Hi, I am just learning cryptography and the DLP problem. How can I create a finite multiplicative Group over Zp? Sage has many Group related classes but apparently I am not math-savvy enough to chose one ;-) 2012-02-01 04:27:15 +0200 received badge ● Nice Answer (source) 2012-01-29 17:39:42 +0200 received badge ● Self-Learner (source) 2012-01-29 17:39:42 +0200 received badge ● Teacher (source) 2012-01-29 15:21:59 +0200 answered a question How to enter a multiprecision integer in hex big endian Found the answer in IRC (thanks, saraedum, few_) p = ZZ('0x2199 ... 5b')  If the number is pretty big you could also read it from a file: f = open('/tmp/p.txt') p = ZZ('0x' + f.read()) f.close()  This assumes that you have a file p.txt containing the hex string with the whitespaces stripped. hope that helps 2012-01-29 13:50:05 +0200 asked a question How to enter a multiprecision integer in hex big endian Hi, I have a multiprecision integer (retrieved from a gpg signature). Example: DSA p(2048 bits) - ab 21 99 ...many bytes here ... 5b  How can I enter the hex representation into Sage to work with it?