hb_SHA512(<cBuffer> [, <lBin>]) ➜ cDigest Above functions are used to calculate hash value (digest) of given <cBuffer> according to SHA-1, SHA-2, SHA-3 Secure Hash Algorithms. <lBin> flag controls whether to return binary data or hexadecimal string, default .F., that is, return hexadecimal string.
Regards,
Simo.
veparakos esperantoshio
unread,
Jun 10, 2024, 1:11:04 AMJun 10
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
Hi thank you my dear brother for your precious answer ..but what i am looking for is 1024 bits hash function all those functions you give me is generated hash below 1024 bits ..so is there any other hash function can generate 1024 bits hash?
juanpere...@gmail.com
unread,
Jun 10, 2024, 2:16:17 AMJun 10
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
Hello
Generating a 1024-bit hash for encryption is not considered necessary, for personal use 512 is more than enough, which is why it has not been implemented.
For more secure communication, it is not recommended either, for example Microsoft is going to discontinue its use, it recommends the use of a 2048-bit hash.
For more information, please visit the following links.
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
Thank you very much my dear brother for your precious information ,from what you give me regarding SHA-3 as it is mentioned in wiki there is SHAKE 256 how i can use this hash function(SHAKE256) in Harbour where i can get its code and how i can include it in my Harbour program?
veparakos esperantoshio
unread,
Jun 12, 2024, 3:50:05 PMJun 12
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
Hi my all dear brothers...i am still waiting for your answer about my question ...
how i can use hash function(SHAKE256) in Harbour ,where i can get its code and how i can include it in my Harbour program?
juanpere...@gmail.com
unread,
Jun 12, 2024, 8:26:28 PMJun 12
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
Hello
An example of how to use SHAKE256 in harbour and it is in the hbcrypto.lib library
C:\MiniGUI\Harbour\lib
Source code
C:\MiniGUI\SOURCE\HbCrypto
procedure main()
? "sha3 256" ? hb_sha3256("i can include it in my Harbour program") ? hb_sha3256("whereicangetitscode") ? "--------------------------" ? "sha3 512" ? hb_sha3512("i can include it in my Harbour program") ? hb_sha3512("whereicangetitscode") ? "--------------------------" ? "SHAKE256" ? hb_shake256("i can include it in my Harbour program") ? hb_shake256("whereicangetitscode")
return
veparakos esperantoshio
unread,
Jun 14, 2024, 1:40:53 AMJun 14
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
Thank you very much for your precious answer ...can you give me direct link to download the
hbcrypto.lib in one file only so i can include it in my program.
juanpere...@gmail.com
unread,
Jun 14, 2024, 2:15:01 PMJun 14
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
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
Thank you my brother for your precious answer but google drive ask me to wait for permission to access the file...can you upload the same file other than google drive.
juanpere...@gmail.com
unread,
Jun 14, 2024, 5:00:22 PMJun 14
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
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
Thank you very much my brother for your precious answer ...i tried what you said but i am getting this error: Error F0029 Can't open #include file 'C:\PWCT19\ssbuild\minigui\Harbour\lib\hbcrypto.lib'
veparakos esperantoshio
unread,
Jun 20, 2024, 10:46:20 AM (13 days ago) Jun 20
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
i am still waiting for your precious answers my dear brothers
juanpere...@gmail.com
unread,
Jun 20, 2024, 5:29:52 PM (13 days ago) Jun 20
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
What minigui do you use, what c compiler? I use https://www.hmgextended.com/ , Borland C++ compiler Version 5.8 and it works without error.