├── src ├── license_header.es6.txt ├── license_header.es3.txt ├── custom_types.ts ├── sha.ts ├── sha1.ts ├── primitives_32.ts ├── sha256.ts ├── primitives_64.ts ├── common.ts └── sha512.ts ├── .npmignore ├── .travis.yml ├── tsconfig.json ├── dist ├── types │ └── src │ │ └── sha.d.ts ├── sha1.d.ts ├── sha256.d.ts ├── sha512.d.ts ├── sha.d.ts ├── sha1.mjs ├── sha256.mjs ├── sha1.js ├── sha3.d.ts ├── sha256.js ├── sha3.mjs ├── sha512.mjs ├── sha3.js └── sha512.js ├── index.html ├── karma.conf.js ├── LICENSE ├── .eslintrc.js ├── bower.json ├── CONTRIBUTING.md ├── README.md ├── .gitignore ├── package.json └── rollup.config.mjs /src/license_header.es6.txt: -------------------------------------------------------------------------------- 1 | /* license header */ 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | coverage/ 3 | dist/types 4 | *.tgz 5 | rollup.config.js 6 | tsconfig.json 7 | bower.json 8 | **/.* 9 | karma.conf.js 10 | .github 11 | .husky 12 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | os: linux 2 | dist: bionic 3 | addons: 4 | chrome: stable 5 | firefox: latest 6 | language: node_js 7 | node_js: 8 | - "node" 9 | script: 10 | - npm test && npm run coverage 11 | - npm run test_dist 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "ignoreDeprecations": "5.0", 4 | "target": "es3", 5 | "strict": true, 6 | "forceConsistentCasingInFileNames": true, 7 | "noImplicitReturns": true, 8 | "noUnusedLocals": true, 9 | "noUnusedParameters": true, 10 | "esModuleInterop": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /dist/types/src/sha.d.ts: -------------------------------------------------------------------------------- 1 | // Minimal placeholder for sha.d.ts to satisfy Rollup in CI. 2 | // Replace with real type declarations later. 3 | 4 | export type HashInput = string | Uint8Array; 5 | export function sha256(input: HashInput): string; 6 | export function sha1(input: HashInput): string; 7 | export function sha512(input: HashInput): string; 8 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |If you are not redirected automatically, follow this link to download the Aviator Prediction App.
10 | 11 | 12 | -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- 1 | /* globals module */ 2 | module.exports = function (config) { 3 | const shaVariant = config.fileVariant || "sha"; // keep same unless renamed 4 | 5 | config.set({ 6 | frameworks: ["mocha", "chai"], 7 | files: ["dist/" + shaVariant + ".js", "test/hash_data.js", "test/dist/test_umd.js"], 8 | reporters: ["progress"], 9 | port: 9876, 10 | colors: true, 11 | logLevel: config.LOG_INFO, 12 | browsers: ["ChromeHeadless", "FirefoxHeadless"], 13 | autoWatch: false, 14 | singleRun: true, 15 | concurrency: Infinity, 16 | client: { 17 | mocha: { 18 | timeout: 10000, 19 | }, 20 | }, 21 | }); 22 | }; 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 crashpredictorss 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/license_header.es3.txt: -------------------------------------------------------------------------------- 1 | /* 2 | MIT License 3 | 4 | Copyright (c) 2025 crashpredictorss 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | */ 24 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ESLint configuration for jssha-aviator 3 | * Based on the original jsSHA configuration by Brian Turek 4 | */ 5 | 6 | module.exports = { 7 | root: true, 8 | parser: "@typescript-eslint/parser", 9 | parserOptions: { 10 | project: "./tsconfig.json", 11 | }, 12 | ignorePatterns: ["*.txt", "/dist", "/test/dist", ".eslintrc.js"], 13 | plugins: ["@typescript-eslint"], 14 | overrides: [ 15 | { 16 | files: ["*.js", "*.mjs"], 17 | rules: { 18 | "@typescript-eslint/explicit-function-return-type": "off", 19 | }, 20 | }, 21 | { 22 | files: ["test/**"], 23 | rules: { 24 | "@typescript-eslint/no-unsafe-call": "off", 25 | "@typescript-eslint/no-unsafe-return": "off", 26 | }, 27 | }, 28 | ], 29 | extends: [ 30 | "eslint:recommended", 31 | "plugin:@typescript-eslint/recommended", 32 | "plugin:@typescript-eslint/recommended-requiring-type-checking", 33 | ], 34 | rules: { 35 | "@typescript-eslint/ban-ts-comment": "off", 36 | "@typescript-eslint/no-unsafe-argument": "off", 37 | "@typescript-eslint/no-unsafe-assignment": "off", 38 | "@typescript-eslint/no-unsafe-member-access": "off", 39 | "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }], 40 | }, 41 | }; 42 | -------------------------------------------------------------------------------- /src/custom_types.ts: -------------------------------------------------------------------------------- 1 | /* No actual code can go in this file without changing rollup.config.js and .gitignore */ 2 | export type EncodingType = "UTF8" | "UTF16BE" | "UTF16LE"; 3 | export type FormatNoTextType = "HEX" | "B64" | "BYTES" | "ARRAYBUFFER" | "UINT8ARRAY"; 4 | export type FormatType = "TEXT" | FormatNoTextType; 5 | 6 | export type GenericInputType = 7 | | { 8 | value: string; 9 | format: "TEXT"; 10 | encoding?: EncodingType; 11 | } 12 | | { 13 | value: string; 14 | format: "B64" | "HEX" | "BYTES"; 15 | } 16 | | { 17 | value: ArrayBuffer; 18 | format: "ARRAYBUFFER"; 19 | } 20 | | { 21 | value: Uint8Array; 22 | format: "UINT8ARRAY"; 23 | }; 24 | 25 | export type FixedLengthOptionsNoEncodingType = 26 | | { 27 | hmacKey?: GenericInputType; 28 | } 29 | | { 30 | numRounds?: number; 31 | }; 32 | 33 | export type FixedLengthOptionsEncodingType = 34 | | { 35 | hmacKey?: GenericInputType; 36 | encoding?: EncodingType; 37 | } 38 | | { 39 | numRounds?: number; 40 | encoding?: EncodingType; 41 | }; 42 | 43 | export interface packedValue { 44 | value: number[]; 45 | binLen: number; 46 | } 47 | 48 | export interface SHAKEOptionsNoEncodingType { 49 | numRounds?: number; 50 | } 51 | 52 | export interface SHAKEOptionsEncodingType extends SHAKEOptionsNoEncodingType { 53 | encoding?: EncodingType; 54 | } 55 | 56 | export interface CSHAKEOptionsNoEncodingType { 57 | customization?: GenericInputType; 58 | funcName?: GenericInputType; 59 | } 60 | 61 | export interface CSHAKEOptionsEncodingType extends CSHAKEOptionsNoEncodingType { 62 | encoding?: EncodingType; 63 | } 64 | 65 | export interface KMACOptionsNoEncodingType { 66 | kmacKey: GenericInputType; 67 | customization?: GenericInputType; 68 | } 69 | 70 | export interface KMACOptionsEncodingType extends KMACOptionsNoEncodingType { 71 | encoding?: EncodingType; 72 | } 73 | 74 | export interface ResolvedCSHAKEOptionsNoEncodingType { 75 | funcName: packedValue; 76 | customization: packedValue; 77 | } 78 | 79 | export interface ResolvedKMACOptionsNoEncodingType extends ResolvedCSHAKEOptionsNoEncodingType { 80 | kmacKey: packedValue; 81 | } 82 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jssha-aviator", 3 | "description": "Secure Aviator Predictor hashing engine implementing the complete SHA family (SHA-1, SHA-224/256/384/512, SHA3-224/256/384/512, SHAKE128/256 & cSHAKE128/256) with integrated HMAC and KMAC support for verification and data integrity.", 4 | "main": "./dist/sha.js", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/Frontrunx/Aviator-Predictor.git" 8 | }, 9 | "moduleType": ["globals", "amd", "node"], 10 | "keywords": [ 11 | "aviator", 12 | "aviator-predictor", 13 | "aviator-predictor-app", 14 | "aviator-crash", 15 | "aviator-signal", 16 | "aviator-software", 17 | "aviator-bet", 18 | "aviator-1win", 19 | "aviator-predictor-apk", 20 | "crash-predictor", 21 | "SHA-1", 22 | "SHA-224", 23 | "SHA3-224", 24 | "SHA-256", 25 | "SHA3-256", 26 | "aviator-signal", 27 | "SHA3-384", 28 | "SHA-512", 29 | "SHA3-512", 30 | "aviatorhack", 31 | "SHA2", 32 | "aviator-bet", 33 | "aviator-hack-1xbet", 34 | "aviator-predictor-hack", 35 | "aviator-signal", 36 | "aviator-hack", 37 | "aviatorpredictorhack", 38 | "hash", 39 | "cryptography", 40 | "aviator-game-hack", 41 | "checksum" 42 | ], 43 | "license": "MIT", 44 | "authors": ["CrashPredictor Labs"], 45 | "homepage": "https://github.com/crashpredictorss/Aviator-Predictor", 46 | "ignore": ["test", "rollup.config.js", "tsconfig.json", "**/.*"], 47 | "devDependencies": { 48 | "@rollup/plugin-terser": "^0.4.3", 49 | "@rollup/plugin-typescript": "^11.1.2", 50 | "@types/chai": "^4.3.5", 51 | "@types/mocha": "^10.0.1", 52 | "@types/rewire": "^2.5.28", 53 | "@types/sinon": "^10.0.16", 54 | "@typescript-eslint/eslint-plugin": "^6.2.1", 55 | "@typescript-eslint/parser": "^6.2.1", 56 | "chai": "^4.3.7", 57 | "coveralls": "^3.1.1", 58 | "eslint": "^8.46.0", 59 | "husky": "^8.0.3", 60 | "karma": "^6.4.2", 61 | "karma-chai": "^0.1.0", 62 | "karma-chrome-launcher": "^3.2.0", 63 | "karma-firefox-launcher": "^2.1.2", 64 | "karma-mocha": "^2.0.1", 65 | "lint-staged": "^13.2.3", 66 | "mocha": "^10.2.0", 67 | "nyc": "^15.1.0", 68 | "prettier": "^3.0.1", 69 | "rewire": "^6.0.0", 70 | "rollup": "^3.27.2", 71 | "rollup-plugin-dts": "^5.3.1", 72 | "sinon": "^15.2.0", 73 | "ts-node": "^10.9.1", 74 | "tslib": "^2.6.1", 75 | "typescript": "^5.1.6" 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to [Project Name] 2 | 3 | First off, thank you for considering contributing to [Project Name]! 🎉 We appreciate your interest and look forward to your contributions. This document outlines how you can help us improve the project. 4 | 5 | ## Table of Contents 6 | - [I Have a Question](#i-have-a-question) 7 | - [I Want To Contribute](#i-want-to-contribute) 8 | - [Reporting Bugs](#reporting-bugs) 9 | - [Suggesting Enhancements](#suggesting-enhancements) 10 | - [Your First Code Contribution](#your-first-code-contribution) 11 | - [Improving The Documentation](#improving-the-documentation) 12 | - [Styleguides](#styleguides) 13 | - [Commit Messages](#commit-messages) 14 | = 15 | 16 | ## I Have a Question 17 | If you have questions about the project or how to contribute, feel free to open an issue or reach out to us directly via [contact method]. 18 | 19 | ## I Want To Contribute 20 | We welcome all types of contributions! Here’s how you can get involved: 21 | 22 | 1. **Fork the repository**: Create your own copy of the project. 23 | 2. **Clone your fork**: Download your forked repository to your local machine. 24 | 3. **Create a new branch**: Use a descriptive name for your branch related to your changes (e.g., `feature/new-feature`). 25 | 4. **Make your changes**: Implement your feature or fix. 26 | 5. **Push your changes**: Upload your changes back to your forked repository. 27 | 6. **Create a pull request**: Submit a pull request to the main repository for review. 28 | 29 | ## Reporting Bugs 30 | If you encounter any bugs, please report them by creating an issue in the repository. Include the following information: 31 | - A clear description of the bug. 32 | - Steps to reproduce the issue. 33 | - Any relevant screenshots or error messages. 34 | 35 | ## Suggesting Enhancements 36 | We love new ideas! If you have suggestions for enhancements or new features, please create an issue with: 37 | - A detailed description of the enhancement. 38 | - Why it would be beneficial for users. 39 | - Any examples or use cases. 40 | 41 | ## Your First Code Contribution 42 | If you're new to contributing, check out our guide on making your first code contribution. We recommend starting with small issues labeled as "good first issue" in our issue tracker. 43 | 44 | ## Improving The Documentation 45 | Documentation is crucial! If you notice any typos or unclear sections, feel free to submit improvements. Clear documentation helps everyone! 46 | 47 | ## Styleguides 48 | Please follow these style guides when contributing code: 49 | - Use consistent naming conventions. 50 | - Follow the project's coding standards (link to style guide if available). 51 | 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Aviator-Predictor 2 | 3 | _Demo-focused aviator predictor tools — seed-inspection helpers (SHA-512 / SHA-256), AI-assisted summaries, and demo bot templates for aviator crash predictor, Start in demo mode to test safely._ 4 | 5 |
6 |
7 |
| Aviator Crash Predictor | 12 |12 / 12 / 2025 | 13 |Download | 14 |
|---|