Permalink
Browse files

Had to update how encrypter saved

  • Loading branch information...
1 parent eb88a64 commit f141d02352d0c9f95c636e4fe8cd47314dc2911d @rejcx committed Mar 3, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 Cryptography/encrypter.py
@@ -76,5 +76,8 @@
# Output encrypted message to text file
encryptedMessageFile = open( "encrypted-message.txt", "w" )
-encryptedMessageFile.write( encryptedMatrix )
+for r in range( 0, int( rows ) ):
+ for c in range( 0, int( cols ) ):
+ encryptedMessageFile.write( "\nrow " + str(r) + " col " + str(c) + " val " + str(int(encryptedMatrix[r, c])) )
+

0 comments on commit f141d02

Please sign in to comment.