Skip to content

Commit

Permalink
Use a less surprising base-16 encoding (#5719)
Browse files Browse the repository at this point in the history
While not important to many, this makes it possible to recreate hashes.
  • Loading branch information
lukastaegert authored Nov 9, 2024
1 parent b350d9e commit 0f4676d
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion rust/xxhash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const CHARACTERS_BASE64: &[u8; 64] =

const CHARACTERS_BASE36: &[u8; 36] = b"abcdefghijklmnopqrstuvwxyz0123456789";

const CHARACTERS_BASE16: &[u8; 16] = b"abcdef0123456789";
const CHARACTERS_BASE16: &[u8; 16] = b"0123456789abcdef";

pub fn xxhash_base64_url(input: &[u8]) -> String {
to_string(&xxh3_128(input).to_le_bytes(), 64, CHARACTERS_BASE64).unwrap()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define(['./dep-9748f597e7f841'], (function (dep) { 'use strict';

console.log('main1');

}));

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define(['./dep-9748f597e7f841'], (function (dep) { 'use strict';

console.log('main2');

}));
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

require('./dep-56610f0f1f4a63.js');
require('./dep-8e72f6a548dc1a.js');

console.log('main1');
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

require('./dep-56610f0f1f4a63.js');
require('./dep-8e72f6a548dc1a.js');

console.log('main2');

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './dep-ea4271148a0859.js';

console.log('main1');
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './dep-ea4271148a0859.js';

console.log('main2');

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
System.register(['./dep-bacfaa81397007.js'], (function () {
System.register(['./dep-fc1ce55215e47e.js'], (function () {
'use strict';
return {
setters: [null],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
System.register(['./dep-bacfaa81397007.js'], (function () {
System.register(['./dep-fc1ce55215e47e.js'], (function () {
'use strict';
return {
setters: [null],
Expand Down

0 comments on commit 0f4676d

Please sign in to comment.