Groups
Groups
Sign in
Groups
Groups
Harbour Users
Conversations
About
Send feedback
Help
RSA SHA256
183 views
Skip to first unread message
marek.r...@gmail.com
unread,
Jan 19, 2023, 3:09:43 PM
1/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
Does anyone have a harbour code for calculating an RSA (SHA256) hash based on a public key? Could I use ssleay.dll for this?
Thanks Marek
Ricardo Sassy
unread,
Jan 19, 2023, 3:24:44 PM
1/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
cRsaKey := hb_SHA256(<cPublicKey>)
Regards.
Ricardo Sassy
marek.r...@gmail.com
unread,
Jan 19, 2023, 3:44:53 PM
1/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
Sorry, I need to specify the problem: I need to encrypt string as shown in the example in CyberChef:
https://gchq.github.io/CyberChef/#recipe=RSA_Encrypt('-----BEGIN%20PUBLIC%20KEY-----%5CnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwocTwdNgt2%2BPXJ2fcB7k1kn5eFUTXBeep9pHLx6MlfkmHLvgjVpQy1/hqMTFfZqw6piFOdZMOSLgizRKjb1CtDYhWncg0mML%2ByhVrPyHT7bkbqfDuM2ku3q8ueEOy40SEl4jRMNvttkWnkvf/VTy2TwA9X9vTd61KJmDDZBLOCVqsyzdnELKUE8iulXwTarDvVTx4irnz/GY%2By9qod%2BXrayYndtU6/kDgasAAQv0pu7esFFPMr83Nkqdu6JD5/0yJOl5RShQXwlmToqvpih2%2BL92x865/C4f3n%2BdZ9bgsKDGSkKSqq7Pz%2BQnhF7jV/JAmtJBCIMylxdxI/xfDHZ5XwIDAQAB%5Cn-----END%20PUBLIC%20KEY-----
','RSA-OAEP','SHA-256')To_Base64('A-Za-z0-9%2B/%3D')&input=NkEyMDIxMjZEQjJDMDI4OUU4QjcxN0Y5MkY2QjE1RkJFNTYwN0ZCNDdFNjNCM0YzQzMzQzk4OTg1NUEwQUY4NnwxNjczODk0Mzk4MTQ
Reply all
Reply to author
Forward
0 new messages