(s, x, y, z)
| 1089 | 'use strict'; |
| 1090 | Object.defineProperty(exports, '__esModule', { value: true }); |
| 1091 | function f(s, x, y, z) { |
| 1092 | switch (s) { |
| 1093 | case 0: |
| 1094 | return (x & y) ^ (~x & z); |
| 1095 | case 1: |
| 1096 | return x ^ y ^ z; |
| 1097 | case 2: |
| 1098 | return (x & y) ^ (x & z) ^ (y & z); |
| 1099 | case 3: |
| 1100 | return x ^ y ^ z; |
| 1101 | } |
| 1102 | } |
| 1103 | function ROTL(x, n) { |
| 1104 | return (x << n) | (x >>> (32 - n)); |
| 1105 | } |
no outgoing calls
no test coverage detected