Re: [cryptopp-users] HMACs of files

2023-11-04 Thread Arik Agazarian
We Need wallet address of 7 months for clean transactions, traceable on Blockchain, Ratio 45%/45%/10% Sender/Reciever/Mandate Telegram sender: @Arik_loader On Thu, Nov 2, 2023, 7:26 PM Catherine Issabel wrote: > > $500 million dollars available only for good and trusted receiver or > mandate >

Re: [cryptopp-users] HMACs of files

2023-11-02 Thread Catherine Issabel
$500 million dollars available only for good and trusted receiver or mandate Kindly contact the sender for more information:+1 (336) 345-9681 -- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving

Re: [cryptopp-users] HMACs of files

2023-05-21 Thread Tom
It can work with: https://gist.github.com/thomasb9511/f570ecad82055b34a27ec9e706f596c9 But it sidesteps the pipeline for verification. On Sunday, May 21, 2023 at 7:28:44 AM UTC-4 Tom wrote: > When dealing with the `SignatureVerificationFilter`, similar issues arise > due to the requirement of

Re: [cryptopp-users] HMACs of files

2023-05-21 Thread Tom
When dealing with the `SignatureVerificationFilter`, similar issues arise due to the requirement of having the "tag" at either the beginning or end of the initial part of the pipeline. Adding the "tag" to the filename within a pipeline that starts with `FileSource` does not resolve this

Re: [cryptopp-users] HMACs of files

2023-05-20 Thread Tom
Okay. However, when I looked at the information provided in this link: https://www.cryptopp.com/wiki/HashVerificationFilter#String_and_File_Sources, it appears that the method suggested to avoid memory usage doesn't actually achieve that goal, as the line FileSource fs("zero.dat", true); in

Re: [cryptopp-users] HMACs of files

2023-05-20 Thread Jeffrey Walton
On Sat, May 20, 2023 at 4:45 PM Jeffrey Walton wrote: > > On Sat, May 20, 2023 at 3:00 PM Tom wrote: > > > > calling `FileSource fs("zero.dat", true);` seems to allocate the memory. > > Try the overload which takes a std::istream reference: > https://www.cryptopp.com/wiki/FileSource I took

Re: [cryptopp-users] HMACs of files

2023-05-20 Thread Jeffrey Walton
On Sat, May 20, 2023 at 3:00 PM Tom wrote: > > calling `FileSource fs("zero.dat", true);` seems to allocate the memory. Try the overload which takes a std::istream reference: https://www.cryptopp.com/wiki/FileSource Jeff > On Wednesday, September 8, 2021 at 7:24:28 PM UTC-4 Jeffrey Walton

Re: [cryptopp-users] HMACs of files

2023-05-20 Thread Tom
calling `FileSource fs("zero.dat", true);` seems to allocate the memory. On Wednesday, September 8, 2021 at 7:24:28 PM UTC-4 Jeffrey Walton wrote: > On Wed, Sep 8, 2021 at 6:46 AM Jeffrey Walton wrote: > > > > On Tue, Sep 7, 2021 at 7:45 AM Tom wrote: > > > > > > I can create HMACs of files

Re: [cryptopp-users] HMACs of files

2021-09-08 Thread Jeffrey Walton
On Wed, Sep 8, 2021 at 6:46 AM Jeffrey Walton wrote: > > On Tue, Sep 7, 2021 at 7:45 AM Tom wrote: > > > > I can create HMACs of files using pipelines via filesources but... I can't > > seem to figure out to verify the HMAC without throwing the file into a > > string in memory. > > > > like

Re: [cryptopp-users] HMACs of files

2021-09-08 Thread Jeffrey Walton
On Wednesday, September 8, 2021 at 6:47:45 AM UTC-4 Jeffrey Walton wrote: > On Tue, Sep 7, 2021 at 7:45 AM Tom wrote: > > > > I can create HMACs of files using pipelines via filesources but... I > can't seem to figure out to verify the HMAC without throwing the file into > a string in

Re: [cryptopp-users] HMACs of files

2021-09-08 Thread Jeffrey Walton
On Tue, Sep 7, 2021 at 7:45 AM Tom wrote: > > I can create HMACs of files using pipelines via filesources but... I can't > seem to figure out to verify the HMAC without throwing the file into a string > in memory. > > like this: > > StringSource(plain + mac, true, new

[cryptopp-users] HMACs of files

2021-09-07 Thread Tom
I can create HMACs of files using pipelines via filesources but... I can't seem to figure out to verify the HMAC without throwing the file into a string in memory. like this: StringSource(plain + mac, true, new HashVerificationFilter(hmac, NULL, flags) ); // StringSource Is there a way to