mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
/* MAIN */
|
||||
const Unit = {
|
||||
/* API */
|
||||
dec2hex: (dec) => {
|
||||
const hex = Math.round(dec).toString(16);
|
||||
return hex.length > 1 ? hex : `0${hex}`;
|
||||
}
|
||||
};
|
||||
/* EXPORT */
|
||||
export default Unit;
|
||||
Reference in New Issue
Block a user