Update meid.ts
This commit is contained in:
		
							parent
							
								
									aa3d2deeaa
								
							
						
					
					
						commit
						d9cacdc86d
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -6,13 +6,15 @@ function getTime(time: number) {
 | 
			
		|||
		return CHARS[0];
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return time.toString(16).padStart(16, CHARS[0]);
 | 
			
		||||
	time += 0x800000000000;
 | 
			
		||||
 | 
			
		||||
	return time.toString(16).padStart(12, CHARS[0]);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function getRandom() {
 | 
			
		||||
	let str = '';
 | 
			
		||||
 | 
			
		||||
	for (let i = 0; i < 7; i++) {
 | 
			
		||||
	for (let i = 0; i < 12; i++) {
 | 
			
		||||
		str += CHARS[Math.floor(Math.random() * CHARS.length)];
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue