SPEED: Secure provable erasure for class-1 IoT devices