home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 243,210 of 243,242   
   Stefan Claas to Chris M. Thomasson   
   Re: My experimental HMAC cipher in C99,    
   14 Feb 26 14:48:54   
   
   XPost: sci.crypt   
   From: noreply@oc2mx.net   
      
   Chris M. Thomasson wrote:   
   > On 2/12/2026 9:40 PM, Chris M. Thomasson wrote:   
   > > Well, I made some alterations to my old C version of my HMAC cipher. It   
   > > uses some non-portable API's in order to try to get a TRNG. It prints   
   > > out its usage, just run the program with no arguments, look in ct_help.   
   > >   
   > > Well, can anybody else get it to compile _and_ run on their end? Thanks   
   > > everybody!   
   > >   
   > > The secret key is hardcoded to Password and SHA2-512:   
   > [...]   
   >   
   > I put it up on github:   
   >   
   > https://github.com/ChrisMThomasson/ct_HMAC_Cipher_Experiment/b   
   ob/main/ct_hmac_sha2_512.c   
   >   
      
   Why I do not like your code snippets:   
      
   $ gcc hmac.c -o hmac   
   hmac.c:29:10: fatal error: hmac_sha2.h: No such file or directory   
      29 | #include "hmac_sha2.h"   
         |          ^~~~~~~~~~~~~   
   compilation terminated.   
      
   You should definetly learn Go or Rust...!!! BTW. speaking of TRNG,   
   your's is not a TRNG, use instead on your Windows box your TPM 2.0   
   hardware TRNG module, like I did, for example with pwgen:   
      
   https://github.com/Ch1ffr3punk/pwgen   
      
   Or if your computer is too old for TPM 2.0 usage try to use Quantum   
   Random bytes:   
      
   https://github.com/Ch1ffr3punk/qrng   
   https://github.com/Ch1ffr3punk/pnr   
      
   HTH!   
      
   Regards   
   Stefan   
      
   --   
   https://oc2mx.net   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca