<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoKit",
  "identifier" : "/documentation/CryptoKit/Insecure",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Apple CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit8InsecureO"
  },
  "title" : "Insecure"
}
-->

# Insecure

A container for older, cryptographically insecure algorithms.

```
enum Insecure
```

## Overview> Important: These algorithms aren’t considered cryptographically secure,
> but the framework provides them for backward compatibility with older
> services that require them. For new services, avoid these algorithms.

## Topics

### Hashes

[`Insecure.MD5`](/documentation/CryptoKit/Insecure/MD5)

An implementation of MD5 hashing.

[`Insecure.SHA1`](/documentation/CryptoKit/Insecure/SHA1)

An implementation of SHA1 hashing.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)