function is not described

# ParagonIE_Sodium_Core_ChaCha20::quarterRound() protectedWP 1.0

The ChaCha20 quarter round function. Works on four 32-bit integers.

{} It's a method of the class: ParagonIE_Sodium_Core_ChaCha20{}

No Hooks.

### Return

`Array. int>`

``` Usage \$result = ParagonIE_Sodium_Core_ChaCha20::quarterRound( \$a, \$b, \$c, \$d ); \$a(int) (required) - \$b(int) (required) - \$c(int) (required) - \$d(int) (required) - Code of ParagonIE_Sodium_Core_ChaCha20::quarterRound() ParagonIE Sodium Core ChaCha20::quarterRound WP 5.8.2 wp-includes/sodium_compat/src/Core/ChaCha20.php protected static function quarterRound(\$a, \$b, \$c, \$d) { # a = PLUS(a,b); d = ROTATE(XOR(d,a),16); /** @var int \$a */ \$a = (\$a + \$b) & 0xffffffff; \$d = self::rotate(\$d ^ \$a, 16); # c = PLUS(c,d); b = ROTATE(XOR(b,c),12); /** @var int \$c */ \$c = (\$c + \$d) & 0xffffffff; \$b = self::rotate(\$b ^ \$c, 12); # a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); /** @var int \$a */ \$a = (\$a + \$b) & 0xffffffff; \$d = self::rotate(\$d ^ \$a, 8); # c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); /** @var int \$c */ \$c = (\$c + \$d) & 0xffffffff; \$b = self::rotate(\$b ^ \$c, 7); return array((int) \$a, (int) \$b, (int) \$c, (int) \$d); } ```
``` ```
``` ```
``` Kama © 2010-2021 SQL: 7 for 0.069 sec. 4.2 MB Сontacts window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-NQE38WR3R0'); ```
``` (adsbygoogle = window.adsbygoogle || []).push({}); .kpv-chart-overlay{ display:none; z-index:999000; position:fixed; top:0; right:0; bottom:0; left:0; background:rgb(240, 240, 240); } .kpv-chart-overlay__close{ position:absolute; top:0;right:0; padding:1em; line-height:1; font-size:200%; color:rgba(0,0,0,0.6); } .kpv-chart-overlay__close:hover{ background:rgba(0,0,0,0.1); cursor:pointer; } .kpv-chart-overlay__inner{ position:absolute; top:45vh; left:50%; width:90%; transform:translate(-50%,-50%); } .kpv-chart-overlay__loader{ font-size:800%; text-align:center; } .kpv-chart-overlay__inner .kpv-chart-wrap{ height:40vh !important; } .kpv-chart-overlay__inner .chart-title{ text-align:center; margin-bottom:3em; color:#333; } window.kpvChartPopup = function( obj_id, db_obj_type ){ const ajax_url = 'https://wp-kama.com/core/wp-admin/admin-ajax.php' if( ! db_obj_type ) return let \$overlay = document.querySelector( '.kpv_chart_overlay_js' ) let \$result = document.querySelector( '.object_chart_result_js' ) \$overlay.style.display = 'flex' let data = { action : 'draw_single_object_chart', month_limit : 6, obj_id : Math.abs( obj_id ), db_obj_type : db_obj_type } const form_data = new FormData() for( let key in data ){ form_data.append( key, data[ key ] ) } fetch( ajax_url, { method: 'POST', body : form_data } ) .then( response => response.text() ) .then( text => jQuery( \$result ).html( text ) ) .catch( error => { console.error( 'Error:', error ) } ) return false } ╳ ⌚ { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://wp-kama.com" }, { "@type": "ListItem", "position": 2, "name": "All Functions", "item": "https://wp-kama.com/functions/functions-db" } ] } /* <![CDATA[ */ var jsl10n = {"(\u0441\u0442\u0440\u043e\u043a\u0430\/\u043c\u0430\u0441\u0441\u0438\u0432\/\u0447\u0438\u0441\u043b\u043e\/\u043e\u0431\u044a\u0435\u043a\u0442\/\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439) (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439)":"(string\/array\/int\/object\/true\/false) (required)","PHP \u043a\u043e\u0434":"PHP code","\u0411\u043b\u043e\u043a \"\u0412\u0430\u0436\u043d\u043e\"":"\"Important\" block","\u0411\u043b\u043e\u043a \"\u0417\u0430\u043c\u0435\u0442\u043a\u0430\"":"\"Note\" block","\u0411\u043b\u043e\u043a \"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\"":"\"Info\" block","\u0411\u043b\u043e\u043a \"\u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c\/\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c - \u0441\u043f\u043e\u0438\u043b\u0435\u0440\"":"\"Expand\/collapse (spoiler) \" block","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 URL":"Enter URL","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c":"Insert","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0446\u0438\u0442\u0430\u0442\u0443":"Quote","\u0412\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 (\u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 html \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438)":"Code inside the string (replace HTML entities)","\u041a\u043e\u0434 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 (\u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 HTML \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438)":"Code inside the string (replace HTML entities)","\u041c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 (\u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 html \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441)":"Multiline code (replace HTML entities, highlight the syntax)","\u041d\u0430\u0439\u0434\u0435\u043d\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430.":"Saved content changes found.","\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c":"Cancel","\u041e\u0442\u0441\u0442\u0443\u043f \u0441\u043b\u0435\u0432\u0430":"Left indent","\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b":"Parameters","\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e":"Default","\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440":"Preview","\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0435":"Expand all","\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0435":"Collapse all","\u0421\u0435\u0439\u0432\u044b":"Saves","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c":"Save","\u0433.":"y.","\u0434.":"d.","\u043a\u043e\u0434":"code","\u043c.":"m.","\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c":"expand","\u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c":"collapse","\u0441\u0442\u0440":"str","\u0447.":"h."}; /* ]]> */ /* <![CDATA[ */ var jxs = {"url":"\/assets\/themes\/wp-kama\/inc\/front-ajaxs.php?action=ajaxs_action&ajaxs_nonce=ad69da678e&jxs_act=","post_max_size":"1536000","upload_max_filesize":"1536000"}; /* ]]> */ jQuery( function( \$ ){ if( ! \$.prototype.sortable ) return \$( '.head_bookmarks_js .submenu' ).sortable( { distance: 10, items : 'a', update : function( event, ui ){ ajaxs( 'ajaxs_sort_bookmarks', { keys: \$( event.target ).find( '>*' ).map( function(){ return this.dataset.obj_key } ).get() } ) } } ).disableSelection() } ) (function(){let kcckey = 'kcccount';let pidkey = 'kccpid';let urlpatt = 'https://wp-kama.com?download={download}&kccpid={in_post}&kcccount={url}';let aclass = 'count';let q_symbol_alts__fn = function(url){return url.replace( /[?]/g, '__QUESTION__' ).replace( /[&]/g, '__AMPERSAND__' );};document.addEventListener( 'mouseover', function( ev ){let a = ev.target;if( 'A' !== a.tagName || a.href.indexOf( kcckey ) === -1 )return;let realurl = a.href.match( new RegExp( kcckey +'=(.*)' ) )[1];if( realurl ){if( parseInt( realurl ) )realurl = '/#download'+ realurl;a.dataset.kccurl = a.href.replace( realurl, q_symbol_alts__fn(realurl) );a.href = realurl;}});let clickEventHandler = function( ev ){let a = ev.target;if( 'A' !== ev.target.tagName )return;if( a.dataset.kccurl ){a.href = a.dataset.kccurl;return;}let href = a.href;if( href.indexOf( kcckey ) !== -1 ){let url = href.match( new RegExp( kcckey +'=(.*)' ) )[1];if( url ){if( !! parseInt(url) )url = '/#download'+ url;a.href = url;a.dataset.kccurl = href.replace( url, q_symbol_alts__fn(url) );}}else if( a.classList.contains( aclass ) ){let pid = a.dataset[ pidkey ] || '';let kccurl;kccurl = urlpatt.replace( '{in_post}', pid );kccurl = kccurl.replace( '{download}', ( a.dataset.kccdownload ? 1 : '' ) );kccurl = kccurl.replace( '{url}', q_symbol_alts__fn( href ) );a.dataset.kccurl = kccurl;}a.dataset.kccurl && ( a.href = a.dataset.kccurl );};document.addEventListener( 'click', clickEventHandler );document.addEventListener( 'mousedown', clickEventHandler );document.addEventListener( 'contextmenu ', clickEventHandler );})(); (function(){ const catch_submit = function( ev ){ let sbmt = ev.target.closest( '#submit' ); if( ! sbmt ){ return; } let input = document.createElement( 'input' ); let date = new Date(); input.value = ''+ date.getUTCDate() + (date.getUTCMonth() + 1) + 'uniq9065'; input.name = 'ksbn_code'; input.type = 'hidden'; sbmt.parentNode.insertBefore( input, sbmt ); } document.addEventListener( 'mousedown', catch_submit ); document.addEventListener( 'keypress', catch_submit ); })() (function(\$,d){\$.each(readyQ,function(i,f){\$(f)});\$.each(bindReadyQ,function(i,f){\$(d).bind("ready",f)})})(jQuery,document) ( function(){ let listener = function( ev ){ let aa = ev.target.closest( 'a[data-extlink]' ) if( ! aa ) return aa.setAttribute( 'href', aa.dataset['extlink'] ) if( ! ( aa.getAttribute('target') || '' ) ){ aa.setAttribute( 'target', '_blank' ) } } document.addEventListener( 'mousedown', listener ) document.addEventListener( 'touchstart', listener ) } )() ```