Commit b7d520d4 authored by nanahira's avatar nanahira

fix name length

parent ad75b328
...@@ -19,7 +19,8 @@ const messageStage2 = (): number[] => { ...@@ -19,7 +19,8 @@ const messageStage2 = (): number[] => {
0, 0, 18, 0, 0, 0, 0, 0, 18, 0, 0, 0,
]; ];
const name = cryptoRandomString({ const name = cryptoRandomString({
length: Math.floor(Math.random() * 10) + 1, type: 'ascii-printable',
length: Math.floor(Math.random() * 9) + 1,
}); });
return [ return [
...prefix, ...prefix,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment