Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
154 views

I’m trying to run my Node.js app inside Docker on intel macbook, but it crashes at startup with the following error: Error: Cannot find addon ‘.’ imported from ‘file:///app/node_modules/sodium-native/...
-1 votes
1 answer
99 views

Ubuntu 22.04 up to date PHP8.2 I get this Warning: PHP Warning: PHP Startup: Unable to load dynamic library 'sodium' (tried: /usr/lib/php/20190902/sodium (/usr/lib/php/20190902/sodium: cannot open ...
GerA's user avatar
  • 85
-3 votes
1 answer
2k views

I'm trying to use sodium library in golang, module github.com/jamesruan/sodium. After imported it I added it to go.work file, otherwise nothing works and I really can't understand why. go.work: go 1....
0 votes
0 answers
147 views

I'm trying to encrypt a string on the front-end (node.js electron) and trying to decrypt it on the back-end (PHP) using sodium (I've tried libsodium-wrappers and sodium-plus). Everything looks good on ...
1 vote
1 answer
58 views

Let's suppose the following context in php: A string: $string= "my beautiful and unique string" An encoding key: $key= "mybinaryencodingkey" Encryption of the string several times,...
1 vote
0 answers
535 views

Poly1305 encrypted UDP-Stream from a web server with a 8 Byte Nonce. Is there a way to decrypt this in dart? I tried these packages: sodium_libs (accepted only XChaCha20-Poly1305-IETF / 24 Byte Nonce) ...
3 votes
2 answers
3k views

php-sodium is absent on Amazon Linux 2023 and can't be easily installed. So I'll put the solution here as an answer. Expected to install php-sodium/libsodium on Amazon Linux 2023, but there is no the ...
0 votes
1 answer
2k views

I'm currently developing a CLI password generator and I've been trying to come up with ways of randomizing characters between a defined set of chars. I know the srand(time(NULL)) method, but as far as ...
-1 votes
1 answer
2k views

Trying to generate the secret key from the keypair and I get the exception: SodiumException secretkey should be SODIUM_CRYPTO_SIGN_SECRETKEYBYTES bytes See my code below if(file_exists($keypair)) { ...
Johhn's user avatar
  • 1,059
0 votes
1 answer
1k views

I can do that : Encrypt on frontend (sodium-plus.js) with public-key from backend (PHP sodium) But I want to do the contrary (encrypt with php, decrypt with javascript), and I have an issue. I can get ...
1 vote
2 answers
7k views

I'm using wampserver 3.2.5 , trying to install package need sodium extension i turned it and checked php.ini it not commented and then restarted all service Soduim extension But i still have this ...
0 votes
2 answers
3k views

I am trying to program a Discord Bot that plays music from Youtube. I chose Sodium as the encryption package, but I'm having difficulties when it comes to installing it. I tried setting my VS version ...
0 votes
2 answers
612 views

SO I followed instructions here: https://www.thecoachsmb.com/6-steps-to-install-magento2-4-2-on-xampp-windows-using-composer/ to install Magento 2 into a fresh install of xammppv3.3.0 running Php7. ...
1 vote
1 answer
2k views

I've been trying to self-host a TypeScript discord bot, but the setup process has been nothing but confusing. I think it's supposed to create a build directory with an index.js file, but I'm not sure. ...
3 votes
1 answer
4k views

Here I'm using node for making a discord bot, but there is a problem in the packages I think Also, sodium is not found in the node_modules directory (folder) tried many ways but nothing work :( Repl....

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /