I want to map letters to numbers for testing public key crypto. I understand the following does this for me:
sage: m = "HELLOWORLD" sage: m = [ord(c) for c in m] ; m [72, 69, 76, 76, 79, 87, 79, 82, 76, 68] however, if I want to define my own mapping, e.g. (A = 5, B= 6, C = 7), how do I set this in sage? thanks. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org