Skip to content

Instantly share code, notes, and snippets.

//------------------------------------------------------------------------
// The SwiftUI Lab: Advanced SwiftUI Animations
// https://swiftui-lab.com/swiftui-animations-part1 (Animating Paths)
// https://swiftui-lab.com/swiftui-animations-part2 (GeometryEffect)
// https://swiftui-lab.com/swiftui-animations-part3 (AnimatableModifier)
//------------------------------------------------------------------------
import SwiftUI
struct ContentView: View {
/*
* Let function f() be the DES confusion function, without the bit
* permutation PC. It has two inputs (32-bit value x, which is the
* right-half of the current DES block, and 48-bit subkey k) and
* a 32-bit output.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>