Practice
/
encrypt
15:21 9nov
Revision 7:8331ee141606, committed 2018-11-09
- Comitter:
- preyaa4
- Date:
- Fri Nov 09 17:23:03 2018 +0000
- Parent:
- 6:13ef02c7dd17
- Commit message:
- nov 9, 10:52 pm
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 09 10:34:20 2018 +0000 +++ b/main.cpp Fri Nov 09 17:23:03 2018 +0000 @@ -17,12 +17,12 @@ mbedtls_pk_context pk; mbedtls_pk_init( &pk ); - const unsigned char key[]="-----BEGIN RSA PUBLIC KEY-----" - "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMYfnvWtC8Id5bPKae5yXSxQTt" - "+Zpul6AnnZWfI2TtIarvjHBFUtXRo96y7hoL4VWOPKGCsRqMFDkrbeUjRrx8iL91" - "4/srnyf6sh9c8Zk04xEOpK1ypvBz+Ks4uZObtjnnitf0NBGdjMKxveTq+VE7BWUI" - "yQjtQ8mbDOsiLLvh7wIDAQAB" - "-----END RSA PUBLIC KEY-----"; + const unsigned char key[]="-----BEGIN PUBLIC KEY----- \ +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMYfnvWtC8Id5bPKae5yXSxQTt \ ++Zpul6AnnZWfI2TtIarvjHBFUtXRo96y7hoL4VWOPKGCsRqMFDkrbeUjRrx8iL91 \ +4/srnyf6sh9c8Zk04xEOpK1ypvBz+Ks4uZObtjnnitf0NBGdjMKxveTq+VE7BWUI \ +yQjtQ8mbDOsiLLvh7wIDAQAB \ +-----END PUBLIC KEY-----"; /*