/*
* Claude AI Military Grade - Navy SEAL Level Security
*/
I wonder how an AES implementation written by a Navy SEAL looks.
// Note: Real AES decryption would be implemented here
// For security in military systems, we only support one-way encryption
void mil_crypto_decrypt(const char* ciphertext, char* plaintext, crypto_context_t* ctx) {
// Decryption disabled for security - data remains encrypted
// In real implementation, would use AES-128 decryption
plaintext[0] = '\0';
}
Just beautiful. The essence of vibe coding distilled into a few lines of… well, comments, and like one line of code.
Real crypto indeed.
jasinjames · 4h ago
From “test_everything.c”:
// ============== TEST 6: ¿Claude AI militar?==============
int test_military_ai() {
printf("\n[TEST] Claude AI Militar\n");
// Check if military AI exists
if (access("kernel/claude_military_grade.c", F_OK) == 0) {
printf(" Archivo existe\n");
// Check if it's real crypto or fake
FILE* f = popen("grep -c 'XOR' kernel/claude_military_grade.c", "r");
char buffer[128];
fgets(buffer, sizeof(buffer), f);
pclose(f);
if (atoi(buffer) > 0) {
printf(" Crypto FALSO (solo XOR)\n");
return 0;
} else {
printf("? Crypto no verificable\n");
return 0;
}
} else {
printf(" NO EXISTE\n");
return 0;
}
}
New whole-program analysis just dropped (it's grep).
kragen · 5h ago
I wonder what the fueled loop means. And how can you guarantee that a piece of code finishes in 100ns on a CPU with TLB misses, System Management Mode, and potential misses on both the code and data caches?
nyrahul · 4h ago
You had me at "educational operating system"... Let's cut them some slack... Come back after 5 years to check if it still exists.
jiveturkey · 6h ago
seems a bit of a joke. it's written in C, which I found surprising for something trying to be novel in 2025, with the label `security-first`.
it's v0.5 but it doesn't have a single authz primitive AFAICT.
I guess I liked tempo.
> Claude AI Military Grade - Navy SEAL Level Security
ok. (spoiler: there's no AI here)
kamranjon · 6h ago
I can always tell when a Repo was generated with AI cause they all seem to format their readme files in the same way with lots of emojis and lists.
SV_BubbleTime · 4h ago
On a side note… agentic AI commit messages have been really great. So I assume he gets that right.
Real crypto indeed.
// ============== TEST 6: ¿Claude AI militar?==============
int test_military_ai() { printf("\n[TEST] Claude AI Militar\n");
}New whole-program analysis just dropped (it's grep).
it's v0.5 but it doesn't have a single authz primitive AFAICT.
I guess I liked tempo.
> Claude AI Military Grade - Navy SEAL Level Security
ok. (spoiler: there's no AI here)