File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exercises/concept/secrets/.docs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ There will be further steps in the decryption process that assume 0s are inserte
1212Implement the ` Secrets.shiftBack ` method that takes a value and the number of places to shift and peforms the shift.
1313
1414``` java
15- Secrets . shiftBack(0b1001 , 2 );s
15+ Secrets . shiftBack(0b1001 , 2 );
1616# = > 0b0010
1717```
1818
@@ -40,7 +40,7 @@ If the bit is 1 in mask, the bit is flipped in the value.
4040All other bits are kept unchanged.
4141
4242``` java
43- Secrets . flipBits(0b1100 , 0b0101 )
43+ Secrets . flipBits(0b1100 , 0b0101 );
4444# = > 0b1001
4545```
4646
@@ -53,6 +53,6 @@ The bits in the `value` should be set to 0 where the bit in the mask is 1.
5353All other bits should be kept unchanged.
5454
5555``` java
56- Secrets . applyMask (0b0110 , 0b0101 );
56+ Secrets . clearBits (0b0110 , 0b0101 );
5757# = > 0b0010
5858```
You can’t perform that action at this time.
0 commit comments