|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-15 15:27 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2010-03-15 15:27 UTC] kalle@php.net
[2010-03-26 18:47 UTC] zelnaga at gmail dot com
-Status: Feedback
+Status: Open
[2010-03-26 18:47 UTC] zelnaga at gmail dot com
[2010-04-12 02:20 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2010-04-12 02:20 UTC] kalle@php.net
[2010-06-24 10:57 UTC] T-K-N at gmail dot com
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 22:00:01 2025 UTC |
Description: ------------ Hi, I need to use RNGCryptoServiceProvider in PHP. I have tried: $rng = new DOTNET("mscorlib", "System.Security.Cryptography.RNGCryptoServiceProvider"); $arr = array(0); $v = new VARIANT($arr,VT_ARRAY); $rng->GetBytes($v); unset($rng); The component loads fine. But I got this error: Fatal error: Uncaught exception 'com_exception' with message 'Error [0x80070057] The parameter is incorrect. Any ideas?